﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020010FB RID: 4347
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SelectChatBubbleCsReq : IMessage<SelectChatBubbleCsReq>, IMessage, IEquatable<SelectChatBubbleCsReq>, IDeepCloneable<SelectChatBubbleCsReq>, IBufferMessage
	{
		// Token: 0x17003711 RID: 14097
		// (get) Token: 0x0600C27B RID: 49787 RVA: 0x0020E404 File Offset: 0x0020C604
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SelectChatBubbleCsReq> Parser
		{
			get
			{
				return SelectChatBubbleCsReq._parser;
			}
		}

		// Token: 0x17003712 RID: 14098
		// (get) Token: 0x0600C27C RID: 49788 RVA: 0x0020E40B File Offset: 0x0020C60B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SelectChatBubbleCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003713 RID: 14099
		// (get) Token: 0x0600C27D RID: 49789 RVA: 0x0020E41D File Offset: 0x0020C61D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SelectChatBubbleCsReq.Descriptor;
			}
		}

		// Token: 0x0600C27E RID: 49790 RVA: 0x0020E424 File Offset: 0x0020C624
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChatBubbleCsReq()
		{
		}

		// Token: 0x0600C27F RID: 49791 RVA: 0x0020E42C File Offset: 0x0020C62C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChatBubbleCsReq(SelectChatBubbleCsReq other) : this()
		{
			this.bubbleId_ = other.bubbleId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C280 RID: 49792 RVA: 0x0020E451 File Offset: 0x0020C651
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SelectChatBubbleCsReq Clone()
		{
			return new SelectChatBubbleCsReq(this);
		}

		// Token: 0x17003714 RID: 14100
		// (get) Token: 0x0600C281 RID: 49793 RVA: 0x0020E459 File Offset: 0x0020C659
		// (set) Token: 0x0600C282 RID: 49794 RVA: 0x0020E461 File Offset: 0x0020C661
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BubbleId
		{
			get
			{
				return this.bubbleId_;
			}
			set
			{
				this.bubbleId_ = value;
			}
		}

		// Token: 0x0600C283 RID: 49795 RVA: 0x0020E46A File Offset: 0x0020C66A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SelectChatBubbleCsReq);
		}

		// Token: 0x0600C284 RID: 49796 RVA: 0x0020E478 File Offset: 0x0020C678
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SelectChatBubbleCsReq other)
		{
			return other != null && (other == this || (this.BubbleId == other.BubbleId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C285 RID: 49797 RVA: 0x0020E4A8 File Offset: 0x0020C6A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BubbleId != 0U)
			{
				num ^= this.BubbleId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C286 RID: 49798 RVA: 0x0020E4E7 File Offset: 0x0020C6E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C287 RID: 49799 RVA: 0x0020E4EF File Offset: 0x0020C6EF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C288 RID: 49800 RVA: 0x0020E4F8 File Offset: 0x0020C6F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BubbleId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.BubbleId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C289 RID: 49801 RVA: 0x0020E52C File Offset: 0x0020C72C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BubbleId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BubbleId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C28A RID: 49802 RVA: 0x0020E56A File Offset: 0x0020C76A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SelectChatBubbleCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BubbleId != 0U)
			{
				this.BubbleId = other.BubbleId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C28B RID: 49803 RVA: 0x0020E59B File Offset: 0x0020C79B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C28C RID: 49804 RVA: 0x0020E5A4 File Offset: 0x0020C7A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 64U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.BubbleId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004E8C RID: 20108
		private static readonly MessageParser<SelectChatBubbleCsReq> _parser = new MessageParser<SelectChatBubbleCsReq>(() => new SelectChatBubbleCsReq());

		// Token: 0x04004E8D RID: 20109
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004E8E RID: 20110
		public const int BubbleIdFieldNumber = 8;

		// Token: 0x04004E8F RID: 20111
		private uint bubbleId_;
	}
}
